package com.school.admin.entity.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author :zzz
 * @date :created in 2020/6/2 9:45
 * @desc :菜单增强类
 */
@Data
public class MallMenuVo implements Comparable<MallMenuVo>, Serializable {
    private List<MallMenuVo> Children;

    private String menuCode;
    private String icon;
    private String menuPath;
    private String parentId;
    private Integer sort;
    private String menuName;
    private String id;


    @Override
    public int compareTo(MallMenuVo o) {
        return this.sort -o.sort;
    }
}
